
using NLS.API;
using NLS.API.Model;

var builder = WebApplication.CreateBuilder(args);
builder.Services.AddControllers();

builder.Services.AddHttpClient();
builder.Services.Configure<NlsConfig>(builder.Configuration.GetSection("NLSConfig"));
builder.Services.AddSingleton<NlsTTSClient>();

var app = builder.Build();

app.MapControllers();

app.Run();
